#===============================================================================
# @brief    cmake file
# Copyright (c) CompanyNameMagicTag 2023-2023. All rights reserved.
#===============================================================================

set(SOURCES_LIST
    ${CMAKE_CURRENT_SOURCE_DIR}/Collection_Node.c

    ${CMAKE_CURRENT_SOURCE_DIR}/sle_server/sle_server.c
    ${CMAKE_CURRENT_SOURCE_DIR}/sle_server/sle_server_adv.c

    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/DHT11/bsp_dht11.c
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/DHT11/ds18b20.c
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/LDR/bsp_ldr.c
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/LED/bsp_led.c
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/LED/bsp_uart.c
    

    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/OLED/bsp_oled.c
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/OLED/oled_fonts.c
)
set(HEADER_LIST 
    ${CMAKE_CURRENT_SOURCE_DIR}/.

    ${CMAKE_CURRENT_SOURCE_DIR}/sle_server

    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/DHT11
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/LDR
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/LED
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/OLED
)

set(SOURCES "${SOURCES}" ${SOURCES_LIST} PARENT_SCOPE)
set(PUBLIC_HEADER "${PUBLIC_HEADER}" ${HEADER_LIST} PARENT_SCOPE)